package com.hoshiicloud.withdraw.feign;

import com.hoshiicloud.common.rpc.Response;
import com.hoshiicloud.withdraw.feign.fallback.SmsServiceFeignFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

/**
 * @author Mr.Wu
 * @title: IdGeneratorService
 * @projectName hoshiibuy
 * @description: 主键服务
 * @since 2019-05-20
 */
@FeignClient(name = "hoshiicloud-vericenter", fallback = SmsServiceFeignFallback.class)
public interface SmsService {

	/**
	 * 获取主键
	 *
	 * @return String
	 */
	@PostMapping("/sms/sendNoticeMsg")
	public Response sendSms(@RequestParam("mobile") String mobile,@RequestParam("msg") String msg);
}
